Tweak previous change (don't init statics).
authorGlenn Morris <rgm@gnu.org>
Thu, 16 Aug 2007 03:15:08 +0000 (03:15 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 16 Aug 2007 03:15:08 +0000 (03:15 +0000)
src/term.c

index 3b43163bb5720b481d26ace418f2b7c6b3d50ab1..63455f525da3195dd9c0e6500eb8c2016a1c22af 100644 (file)
@@ -2238,15 +2238,15 @@ DEFUN ("tty-display-color-cells", Ftty_display_color_cells,
 
 #ifndef WINDOWSNT
 
-/* Explicitly initialized here rather than in the function to work
-   around an HPUX compiler bug (?). See
+/* Declare here rather than in the function, as in the rest of Emacs,
+   to work around an HPUX compiler bug (?). See
    http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00410.html  */
-static int default_max_colors = 0;
-static int default_max_pairs = 0;
-static int default_no_color_video = 0;
-static char *default_orig_pair = NULL;
-static char *default_set_foreground = NULL;
-static char *default_set_background = NULL;
+static int default_max_colors;
+static int default_max_pairs;
+static int default_no_color_video;
+static char *default_orig_pair;
+static char *default_set_foreground;
+static char *default_set_background;
 
 /* Save or restore the default color-related capabilities of this
    terminal.  */